package com.rp.configure.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.time.LocalDateTime;
@Data
@Accessors(chain = true)
public class AlarmVo {

    @ApiModelProperty(value = "主键")
    private String id;
//    @ApiModelProperty(value = "属性id")
//    private String attributeId;
//    @ApiModelProperty(value = "是否使用全局")
//    private Integer  isUse;
    @ApiModelProperty(value = "操作id")
    private String operationId;
    @ApiModelProperty(value = "网关id")
    private String gateWayId;
    @ApiModelProperty(value = "设备id")
    private String deviceId;
    @ApiModelProperty(value = "延时时间(分钟)")
    private Integer delayTime;
    @ApiModelProperty(value = "网关名称")
    private String gatewayName;

    @ApiModelProperty(value = "报警名称")
    private String alarmName;

    @ApiModelProperty(value = "值的类型（0，布尔，1其他）")
    private Integer valueType;

    @ApiModelProperty(value = "最大值,type为1时可以设置")
    private String maxValue;
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
    @ApiModelProperty(value = "最小值type为1时可以设置")
    private String minValue;

    @ApiModelProperty(value = "type为零时可以设置")
    private String errorValue;

    @ApiModelProperty(value = "周1到周日")
    private String week;
    @ApiModelProperty(value = "用户id")
    private String userId;
    @ApiModelProperty(value = "全局操作id")
    private String aOperationId;
}
